<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <STYLE type=text/css>
            BODY {
                MARGIN: 0px;
                BACKGROUND-REPEAT: repeat-x;
                background-color: #fff;
            }
            body,td,th {
                font-size: 12px;
            }
        </STYLE>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>123</title>

        <link href="__PUBLIC__/Skins/Default/index.css" rel="stylesheet" type="text/css" />
        <empty name="_SESSION.user">
            <script type=text/javascript>
                top.location.href="login.html";
            </script>
        </empty>
    </head>

    <body>

        <div id="top">
            <div style="width:98%; float:left;" >

                <div id="logo">
                    <div id="menu">
                        <ul id="nav"><li><a href="#">首  页</a></li>
                            <li><a href="#" target="wf_main">内容管理</a></li>
                            <li><a href="#" target="wf_main">页面更新</a></li>
                            <li><a href="#" target="wf_main">会员管理</a></li>
                            <li><a href="3" target="wf_main">系统设置</a></li>
                        </ul>
                    </div>
                </div>
                <div id="shezhi">　<img src="__PUBLIC__/Skins/Default/toux.gif" width="9" height="10" /> 帐号：<span class="blue">{$_SESSION.user}</span> 　　　
                    <img src="__PUBLIC__/Skins/Default/part.gif" width="10" height="10" /> 所属部门：<span class="blue">编辑部</span> 　　 
                    <img src="__PUBLIC__/Skins/Default/exit.gif" alt="退出" width="10" height="10" /> <a href="__URL__/tuichu">退出 </a> 
  　    </div>

            </div>
        </div>
        <SCRIPT type=text/javascript>
            // The idea borrowed from dynamicDrive.com

            var initialtab = [1, "sc1"]

            var previoustab = "";
            var intv;

            function expandcontent(cid, aobject)
            {
                stopTimer();

                highlighttab(aobject)

                if (previoustab != "")
                    document.getElementById(previoustab).style.display = "none"

                document.getElementById(cid).style.display = "block"
                previoustab = cid
            }

            function highlighttab(aobject)
            {
                stopTimer();

                if (typeof tabobjlinks == "undefined")
                    collectddimagetabs()

                for (i = 0; i < tabobjlinks.length; i++)
                    tabobjlinks[i].className = ""

                aobject.className = "current"
            }

            function collectddimagetabs()
            {
                var tabobj = document.getElementById("ddimagetabs")
                tabobjlinks = tabobj.getElementsByTagName("A")
            }

            function do_onload()
            {
                collectddimagetabs()
                expandcontent(initialtab[1], tabobjlinks[initialtab[0] - 1])
            }

            function startTimer()
            {
                intv = setTimeout("expandcontent(initialtab[1], tabobjlinks[initialtab[0]-1])", 2000);
            }

            function stopTimer()
            {
                clearTimeout(intv);
            }

            Event.observe(window, 'load', do_onload, false);
            Event.observe('xcx_tabmenu', 'mouseover', function(event)
            {
                stopTimer();
            },        false);

            Event.observe('xcx_tabmenu', 'mouseout', function(event)
            {
                var reltg = (event.relatedTarget) ? event.relatedTarget : event.toElement;

                var tg = (window.event) ? event.srcElement : event.target;

                if (tg.nodeName != 'DIV')
                    return;

                while (reltg != tg && reltg.nodeName != 'BODY')
                {
                    reltg = reltg.parentNode;

                    if (reltg.id == "xcx_tabmenu")
                        return;
                }

                if (reltg == tg)
                    return;

                stopTimer();
                startTimer();
            },        false);
        </SCRIPT>
    </body>
</html>

